package com.freedom.study.comresp;

public class ReturnResponse<T> {

    private Meta meta;

    private T data;

	public Meta getMeta() {
		return meta;
	}

	public void setMeta(Meta meta) {
		this.meta = meta;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public ReturnResponse(Meta meta, T data) {
		super();
		this.meta = meta;
		this.data = data;
	}
    
	public ReturnResponse(String typeCode, String resultCode,String typeMessage,String resultMessage,T data) {
		super();
		this.meta = new Meta(typeCode, resultCode, typeMessage, resultMessage);
		this.data = data;
	}
}
